package com.sicpa.system.service;

/**
 * ICheckUserPower
 * @author lwf
 */
public interface ICheckUserPowerService {

    /**
     * 判断当前登录用户是否拥有某个权限
     * @param roleKey
     * @return
     */
    boolean hasRole(String roleKey);

    /**
     * 非超级管理员判断角色
     * @param roleKey
     * @return
     */
    boolean noAdminHashRole(String roleKey);
}
